package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.dto.product.ProductDto;
import com.zhentao.model.entity.base.ProductUnit;
import com.zhentao.model.entity.product.Product;

import java.util.List;

public interface ProductMapper extends BaseMapper<Product> {
    public abstract List<Product> findByPage(ProductDto productDto);

    public abstract Product selectById(Long id);

    public abstract int updateById(Product product);

    public abstract void save(Product product);

}
